home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 21 / Mac Magazin and MacEasy Magazine CD - Issue 21.iso / Wissenschaft & Technik / yorick12vr1-nofpu folder / gist / work.gs < prev    next >
Text File  |  1995-07-26  |  4KB  |  103 lines

  1. # Gist work.gs drawing style
  2. # $Id: work.gs,v 1.1 1993/08/27 17:08:43 munro Exp $
  3.  
  4. # A single coordinate system on a portrait page
  5. # Legends: two columns below viewport, contours in single column to right
  6.  
  7. # See the header file gist.h for a more complete description of the
  8. # meanings of the various keywords set in this file; they coincide with the
  9. # values of the corresponding C data structure members defined in gist.h.
  10. # Here is a brief description:
  11.  
  12. # Units and coordinate systems:
  13. #   viewport, tickOff, labelOff, tickLen, xOver, yOver, height (of text)
  14. #   legends.(x,y,dx,dy)
  15. #     Coordinates are in Gist's "NDC" coordinate system.  In this system,
  16. #     0.0013 unit is 1.000 point, and there are 72.27 points per inch.
  17. #     The lower left hand corner of the sheet of paper is at (0,0).
  18. #     For landscape=0, the 8.5 inch edge of the paper is horizontal;
  19. #     for landscape=1, the 11 inch edge of the paper is horizontal.
  20. #   width
  21. #     Line width is measured in relative units, with 1.0 being 1/2 point.
  22.  
  23. # Ticks flags (add together the ones you want):
  24. #   0x001  Draw ticks on bottom or left edge of viewport
  25. #   0x002  Draw ticks on top or right edge of viewport
  26. #   0x004  Draw ticks centered on origin in middle of viewport
  27. #   0x008  Ticks project inward into viewport
  28. #   0x010  Ticks project outward away from viewport (0x18 for both)
  29. #   0x020  Draw tick label numbers on bottom or left edge of viewport
  30. #   0x040  Draw tick label numbers on top or right edge of viewport
  31. #   0x080  Draw all grid lines down to gridLevel
  32. #   0x100  Draw single grid line at origin
  33.  
  34. # Line types:
  35. #   solid        1
  36. #   dash         2
  37. #   dot          3
  38. #   dash-dot     4
  39. #   dash-dot-dot 5
  40.  
  41. # Font numbers:
  42. #   Courier    0x00
  43. #   Times      0x04
  44. #   Helvetica  0x08
  45. #   Symbol     0x0c
  46. #   Schoolbook 0x10
  47. # Add 0x01 for bold, 0x02 for italic
  48.  
  49. # This actually repeats the default values in gread.c
  50.  
  51. landscape= 0
  52.  
  53. default = {
  54.   legend= 0,
  55.  
  56.   viewport= { 0.19, 0.60, 0.44, 0.85 },
  57.  
  58.   ticks= {
  59.  
  60.     horiz= {
  61.       nMajor= 7.5,  nMinor= 50.0,  logAdjMajor= 1.2,  logAdjMinor= 1.2,
  62.       nDigits= 3,  gridLevel= 1,  flags= 0x033,
  63.       tickOff= 0.0007,  labelOff= 0.0182,
  64.       tickLen= { 0.0143, 0.0091, 0.0052, 0.0026, 0.0013 },
  65.       tickStyle= { color= -2,  type= 1,  width= 1.0 },
  66.       gridStyle= { color= -2,  type= 3,  width= 1.0 },
  67.       textStyle= { color= -2,  font= 0x08,  prec= 2,  height= 0.0182,
  68.         expand= 1.0,  spacing= 0.0,  upX= 0.0,  upY= 1.0,
  69.         path= 0,  alignH= 0,  alignV= 0,  opaque= 0 },
  70.       xOver= 0.395,  yOver= 0.370 },
  71.  
  72.     vert= {
  73.       nMajor= 7.5,  nMinor= 50.0,  logAdjMajor= 1.2,  logAdjMinor= 1.2,
  74.       nDigits= 4,  gridLevel= 1,  flags= 0x033,
  75.       tickOff= 0.0007,  labelOff= 0.0182,
  76.       tickLen= { 0.0143, 0.0091, 0.0052, 0.0026, 0.0013 },
  77.       tickStyle= { color= -2,  type= 1,  width= 1.0 },
  78.       gridStyle= { color= -2,  type= 3,  width= 1.0 },
  79.       textStyle= { color= -2,  font= 0x08,  prec= 2,  height= 0.0182,
  80.         expand= 1.0,  spacing= 0.0,  upX= 0.0,  upY= 1.0,
  81.         path= 0,  alignH= 0,  alignV= 0,  opaque= 0 },
  82.       xOver= 0.150,  yOver= 0.370 },
  83.  
  84.     frame= 0,
  85.     frameStyle= { color= -2,  type= 1,  width= 1.0 }}}
  86.  
  87. # The one coordinate system matches the default template exactly
  88. system= { legend= "System 0" }
  89.  
  90. legends= {
  91.   x= 0.04698,  y= 0.360,  dx= 0.3758,  dy= 0.0,
  92.   textStyle= { color= -2,  font= 0x00,  prec= 2,  height= 0.0156,
  93.     expand= 1.0,  spacing= 0.0,  upX= 0.0,  upY= 1.0,
  94.     path= 0,  alignH= 1,  alignV= 1,  opaque= 0 },
  95.   nchars= 36,  nlines= 20,  nwrap= 2 }
  96.  
  97. clegends= {
  98.   x= 0.6182,  y= 0.8643,  dx= 0.0,  dy= 0.0,
  99.   textStyle= { color= -2,  font= 0x00,  prec= 2,  height= 0.0156,
  100.     expand= 1.0,  spacing= 0.0,  upX= 0.0,  upY= 1.0,
  101.     path= 0,  alignH= 1,  alignV= 1,  opaque= 0 },
  102.   nchars= 14,  nlines= 28,  nwrap= 1 }
  103.